package com.lemo;

import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Service;

@Service
public class JmsConsumer1 {


    @JmsListener(destination = "lemo_o_topics")
    public void receiveTopics(String msg) {
        System.out.println(this.getClass().getSimpleName() + "----->" + msg);
    }
}
